package com.vkdasari.youtube.ui.action;

import javax.swing.AbstractAction;
import javax.swing.Icon;

public abstract class ZebraAction extends AbstractAction{

	private static final long serialVersionUID = 1L;
	
	protected String name;
	protected Icon icon;
	
	/**
	 * Constructor
	 * @param name
	 * @param icon
	 */
	public ZebraAction(String name, Icon icon){
		super(name, icon);
		this.name = name;
		this.icon = icon;
	}
	
	
	/**
	 * @return the name
	 */
	public String getName() {
		return name;
	}
	/**
	 * @param name the name to set
	 */
	public void setName(String name) {
		this.name = name;
	}
	/**
	 * @return the icon
	 */
	public Icon getIcon() {
		return icon;
	}
	/**
	 * @param icon the icon to set
	 */
	public void setIcon(Icon icon) {
		this.icon = icon;
	}
	
}
